﻿@model SuCasa.Models.MemberSearchViewModel
@{
    ViewBag.Title = "Search";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="page-header">
    <h2>Search</h2>
    @using (Ajax.BeginForm("Search", "Member", new AjaxOptions { UpdateTargetId = "results", HttpMethod = "POST", }, new { @class = "form-horizontal" }))
    { 
      <div class="input-prepend">
          @Html.TextBoxFor(x => x.SearchStr, new { @class="span2"})
        </div>
    }
    
    @Html.Partial("SearchResults")
</div>
